﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mode
{
     public  class Borrowinfo
    {
        private int field;

        public int borrowID { get; set; }
        public string bookID { get; set; }
        public string userID { get; set; }
        public DateTime borrowDate { get; set; }
        public DateTime retuenDate { get; set; }
        public bool isReturned { get; set; }
        public virtual Bookinfo BookInfo { get; set; }
        public virtual userinfo UserInfo { get; set; }
        public Borrowinfo() { }
        public Borrowinfo (int BorrowID, string BookID, string UserID, DateTime BorrowDate, DateTime RetuenDate, bool IsReturned)
        {
            this.borrowID = BorrowID;
            this.bookID = BookID;
            this.userID = UserID;
            this.borrowDate = BorrowDate;
            this.retuenDate = RetuenDate;
            this.isReturned = IsReturned;
        }
    }
}
